/**
 * Copyright(c) by JNet Smartware Group.
 * All rights reserved. Not distribution or redistribution without
 * any permission of JNet Smartware Group.
 * 
 * @author thuc
 * 2010/03/15
 */
package vn.smartware.co.server.dao.factory;

import java.sql.Connection;
import java.util.ArrayList;

import vn.smartware.co.framework.bean.LoginDTO;
import vn.smartware.co.framework.exception.ServerException;
import vn.smartware.co.framework.form.CommonSearchForm;

/**
 * AbstractCommonSearchDAO
 * @author thuctt
 */
@SuppressWarnings({"rawtypes"})
public abstract class AbstractCommonSearchDAO {

	/**
	 * get drink list
	 * @param form 
	 * @param user 
	 * @param conn
	 * @return ArrayList
	 * @throws ServerException
	 */
	abstract public ArrayList getDrinkList(CommonSearchForm form, LoginDTO user,
			Connection conn) throws ServerException;
	/**
	 * get food list
	 * @param form 
	 * @param user 
	 * @param conn
	 * @return ArrayList
	 * @throws ServerException
	 */
	abstract public ArrayList getFoodList(CommonSearchForm form, LoginDTO user,
			Connection conn) throws ServerException;
	/**
	 * get room list
	 * @param form 
	 * @param user 
	 * @param conn
	 * @return ArrayList
	 * @throws ServerException
	 */
	abstract public ArrayList getRoomList(CommonSearchForm form, LoginDTO user,
			Connection conn) throws ServerException;
	
	/**
	 * getCustomerList
	 * @param form
	 * @param user
	 * @param conn
	 * @return ArrayList
	 * @throws ServerException
	 */
	abstract public ArrayList getCustomerList(CommonSearchForm form,
			LoginDTO user, Connection conn) throws ServerException;
}
